//------------------------------------------------------------------------------
// <copyright company="Telligent Systems">
//     Copyright (c) Telligent Systems Corporation.  All rights reserved.
// </copyright> 
//------------------------------------------------------------------------------

using System;
using System.Collections;
using CommunityServer;

namespace CommunityServer.Components 
{
	public class PollVoteSet 
	{
		ArrayList pollVotes = new ArrayList();
		int totalRecords = 0;

		public int TotalRecords 
		{
			get 
			{
				return totalRecords;
			}
			set 
			{
				totalRecords = value;
			}
		}

		public ArrayList PollVotes 
		{
			get 
			{
				return pollVotes;
			}
		}

		public bool HasResults 
		{
			get 
			{
				if (pollVotes.Count > 0)
					return true;

				return false;
			}
		}

	}
}
